package com.daervin.svc.dal;

import com.daervin.svc.common.dto.SearchProductDTO;
import com.daervin.svc.dal.model.WhProductDO;

import java.util.List;

public interface WhProductMapper {
    int deleteByPrimaryKey(Long id);

    int insertSelective(WhProductDO record);

    WhProductDO selectByPrimaryKey(Long id);

    WhProductDO selectByCode(String code);

    int selectCount(SearchProductDTO req);

    List<WhProductDO> selectList(SearchProductDTO req);

    int updateByPrimaryKeySelective(WhProductDO record);
}